package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统初始化对象 sysjur_init
 * 
 * @author ess
 * @date 2021-10-18
 */
public class SysjurInit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String jurInitId;

    /** 印章平台名称 */
    @Excel(name = "印章平台名称")
    private String systemname;

    /** 被授权服务器机器码 */
    @Excel(name = "被授权服务器机器码")
    private String serverip;

    /** 允许制作的印章的数量 */
    @Excel(name = "允许制作的印章的数量")
    private Long sealcount;

    /** 允许制作的手写签名的数量 */
    @Excel(name = "允许制作的手写签名的数量")
    private Long hwcount;

    /** 平台授权到期时间 yyyy-MM-dd */
    @Excel(name = "平台授权到期时间 yyyy-MM-dd")
    private String authendtime;

    /** 可以签署的文档类型 */
    @Excel(name = "可以签署的文档类型")
    private String products;

    /** 签名值 */
    @Excel(name = "签名值")
    private String signvalue;

    /** 状态 0无效 1有效 */
    @Excel(name = "状态 0无效 1有效")
    private Integer state;

    /** 插入时间 */
    @Excel(name = "插入时间")
    private String inserttime;

    /** 授权印章次数 */
    @Excel(name = "授权印章次数")
    private Long sealjurcount;

    /** 授权手写签名次数 */
    @Excel(name = "授权手写签名次数")
    private Long hwjurcount;

    /** 初始化系统生效字段  1为生效  0时可进行 */
    @Excel(name = "初始化系统生效字段  1为生效  0时可进行")
    private String sure;

    /** 是否默认启用个人签名  0  不启用 1 启用 */
    @Excel(name = "是否默认启用个人签名  0  不启用 1 启用")
    private Integer usehw;

    /** 每个单位有自己的授权信息，如果没有的话找顶级单位的授权 */
    @Excel(name = "每个单位有自己的授权信息，如果没有的话找顶级单位的授权")
    private String unitId;

    public void setJurInitId(String jurInitId) 
    {
        this.jurInitId = jurInitId;
    }

    public String getJurInitId() 
    {
        return jurInitId;
    }
    public void setSystemname(String systemname) 
    {
        this.systemname = systemname;
    }

    public String getSystemname() 
    {
        return systemname;
    }
    public void setServerip(String serverip) 
    {
        this.serverip = serverip;
    }

    public String getServerip() 
    {
        return serverip;
    }
    public void setSealcount(Long sealcount) 
    {
        this.sealcount = sealcount;
    }

    public Long getSealcount() 
    {
        return sealcount;
    }
    public void setHwcount(Long hwcount) 
    {
        this.hwcount = hwcount;
    }

    public Long getHwcount() 
    {
        return hwcount;
    }
    public void setAuthendtime(String authendtime) 
    {
        this.authendtime = authendtime;
    }

    public String getAuthendtime() 
    {
        return authendtime;
    }
    public void setProducts(String products) 
    {
        this.products = products;
    }

    public String getProducts() 
    {
        return products;
    }
    public void setSignvalue(String signvalue) 
    {
        this.signvalue = signvalue;
    }

    public String getSignvalue() 
    {
        return signvalue;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setInserttime(String inserttime) 
    {
        this.inserttime = inserttime;
    }

    public String getInserttime() 
    {
        return inserttime;
    }
    public void setSealjurcount(Long sealjurcount) 
    {
        this.sealjurcount = sealjurcount;
    }

    public Long getSealjurcount() 
    {
        return sealjurcount;
    }
    public void setHwjurcount(Long hwjurcount) 
    {
        this.hwjurcount = hwjurcount;
    }

    public Long getHwjurcount() 
    {
        return hwjurcount;
    }
    public void setSure(String sure) 
    {
        this.sure = sure;
    }

    public String getSure() 
    {
        return sure;
    }
    public void setUsehw(Integer usehw) 
    {
        this.usehw = usehw;
    }

    public Integer getUsehw() 
    {
        return usehw;
    }
    public void setUnitId(String unitId) 
    {
        this.unitId = unitId;
    }

    public String getUnitId() 
    {
        return unitId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("jurInitId", getJurInitId())
            .append("systemname", getSystemname())
            .append("serverip", getServerip())
            .append("sealcount", getSealcount())
            .append("hwcount", getHwcount())
            .append("authendtime", getAuthendtime())
            .append("products", getProducts())
            .append("signvalue", getSignvalue())
            .append("state", getState())
            .append("inserttime", getInserttime())
            .append("sealjurcount", getSealjurcount())
            .append("hwjurcount", getHwjurcount())
            .append("sure", getSure())
            .append("usehw", getUsehw())
            .append("unitId", getUnitId())
            .toString();
    }
}
